package com.hsmw.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class OrderPoolVO  {

    @ApiModelProperty(value = "订单池ID 即 需求ID")
    private String requestId;

    @ApiModelProperty(value = "司机用户ID ")
    private String userId;

    @ApiModelProperty(value = "司机ID ")
    private String driverId;

    @ApiModelProperty(value = "到车时间")
    private LocalDateTime reachTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "抢单时间")
    private LocalDateTime grabTime;


    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime beginTime;

    @ApiModelProperty(value = "订单ID")
    private String  orderId;


    @ApiModelProperty(value = "车辆ID")
    private String vehicleId;

    @ApiModelProperty(value = "车牌号")
    private String vehicleNum;

    @ApiModelProperty(value = " 所属租赁公司ID ")
    private String leasingCompanyId;


    @ApiModelProperty(value = " 所属租赁公司类型 1：自营；2： 非自营 ")
    private String leasingCompanyType;


    @ApiModelProperty(value = "所属租赁公司名称")
    private String leasingCompanyName;


    @ApiModelProperty(value = "用户表-司机名称")
    private String driverName;

    @ApiModelProperty(value = "用户表-司机手机号")
    private String driverUsername;

    @ApiModelProperty(value = "车辆状态")
    private String vehicleWorkStatus;

    @ApiModelProperty(value = "车辆类型")
    private String vehicleModel;

    @ApiModelProperty(value = "车辆型号")
    private String vehicleType;

    @ApiModelProperty(value = "imei号码")
    private  String  imeiNum;

    @ApiModelProperty(value = "预计方量")
    private String expectVolume;

    @ApiModelProperty(value = "司机评分")
    private String score;

    @ApiModelProperty(value = " 项目施工位置 经度")
    private String lng;

    @ApiModelProperty(value = "项目施工位置 纬度")
    private String lat;


    @ApiModelProperty(value = "工长电话")
    private String foremanLinkTel;

    @ApiModelProperty(value = "是否指定公司派单")
    private boolean appointCompanyOrder;

}
